from django.conf.urls.defaults import *

urlpatterns = patterns('',
       (r'^$', 'shared_accounting.views.account_list'),
       (r'^new/$', 'shared_accounting.views.account_new'),
       (r'^(?P<id>\d+)/$', 'shared_accounting.views.account_detail'),
       (r'^(?P<id>\d+)/member/add/$', 'shared_accounting.views.account_member_add'),
       (r'^(?P<id>\d+)/member/(?P<member_id>\d+)/edit/$', 'shared_accounting.views.account_member_edit'),
       (r'^(?P<id>\d+)/member/(?P<member_id>\d+)/delete/$', 'shared_accounting.views.account_member_delete'),
       (r'^(?P<id>\d+)/edit/$', 'shared_accounting.views.account_edit'),
       (r'^(?P<id>\d+)/delete/$', 'shared_accounting.views.account_delete'),
       (r'^(?P<id>\d+)/deposit/$', 'shared_accounting.views.account_deposit'),
       (r'^(?P<id>\d+)/draw/$', 'shared_accounting.views.account_draw'),
       (r'^(?P<id>\d+)/pay/$', 'shared_accounting.views.account_pay'),
       (r'^(?P<id>\d+)/dp/$', 'shared_accounting.views.account_deposit_and_pay'),
       (r'^(?P<id>\d+)/transfer/$', 'shared_accounting.views.account_transfer'),
       (r'^(?P<id>\d+)/transactions/$', 'shared_accounting.views.account_transactions'),
       (r'^(?P<id>\d+)/transactions/(?P<trans_id>\d+)/$', 'shared_accounting.views.account_transaction_detail'),
       (r'^(?P<id>\d+)/transactions/(?P<trans_id>\d+)/delete/$', 'shared_accounting.views.account_transaction_delete'),
)
